home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds / fddicmd.man < prev    next >
Text File  |  1992-05-29  |  3KB  |  101 lines

  1. ' $Header: /sprite/src/cmds/fddicmd/RCS/fddicmd.man,v 1.2 92/05/29 11:13:40 voelker Exp $ SPRITE (Berkeley)
  2. .so \*(]ltmac.sprite
  3. .HS FDDICMD cmds
  4. .BS
  5. .SH NAME
  6. fddicmd \- invoke ioctls on the FDDI device driver
  7. .SH SYNOPSIS
  8. .IP \fBfddicmd 10
  9. [\fB\-reset\fR]
  10. [\fB\-halt\fR]
  11. [\fB\-flush\fR]
  12. [\fB\-addr\fR]
  13. [\fB\-debug\fR]
  14. [\fB\-stats\fR]
  15. [\fB\-echo SpriteID\fR]
  16. [\fB\-size bytes\fR]
  17. [\fB\-repeat n\fR]
  18. [\fB\-syslog\fR]
  19. [\fB\-reg\fR]
  20. [\fB\-errlog\fR]
  21. .SH OPTIONS
  22. .IP \fB\-reset\fP
  23. Reset the adapter.
  24. .IP \fB\-halt\fP
  25. Halt the adapter.
  26. .IP \fB\-flush\fP
  27. Flush the driver's transmit queue of waiting packets.
  28. .IP \fB\-addr\fP
  29. Print the adapter's network address.
  30. .IP \fB\-debug\fP
  31. Toggle debugging.  Messages are printed to the syslog.
  32. .IP \fB\-stats\fP
  33. Print adapter statistics.
  34. .IP \fB\-echo\ SpriteID\fP
  35. Echo packets off of the specified host.
  36. .IP \fB\-size\ bytes\fP
  37. Set the size of packets to echo.
  38. .IP \fB\-repeat\ n\fP
  39. Number of times to echo packets.
  40. .IP \fB\-reg\fP
  41. Print the contents of the adapter registers.
  42. .IP \fB\-errlog\fP
  43. Print the internal and external error codes that the adapter writes as it halts.  Should be zero for normal operation.
  44. .IP \fB\-syslog\fP
  45. Print info onto syslog instead of terminal.
  46. .BE
  47.  
  48. .SH DESCRIPTION
  49.  
  50. .LP
  51. The various options perform ioctls on the FDDI driver.  
  52.  
  53. .LP
  54. The \fBreset\fP and \fBhalt\fP options control the adapter's connection to the
  55. ring. The \fBreset\fP option resets the adapter, connecting it back to
  56. the ring.  The \fBhalt\fP option halts the adapter, disconnecting it
  57. from the ring.
  58.  
  59. .LP
  60. The \fBflush\fP option flushes the driver's transmit queue.
  61.  
  62. .LP
  63. The \fBaddr\fP option prints out the adapter's network address in the standard
  64. aa:bb:cc:dd:ee:ff form.
  65.  
  66. .LP
  67. The \fBdebug\fP option toggles debugging output.  The messages are written
  68. to the syslog, and really slow down the adapter.  Useful for seeing
  69. how the adapter works.
  70.  
  71. .LP
  72. The \fBstats\fP option prints out adapter statistics. It first reports
  73. the number of packets and bytes sent and received.  Then comes an
  74. array of receive reaped numbers.  Each array slot denotes a number of
  75. received packets, and the value in that slot is the number of
  76. times that the driver reaped that number of packets in one interrupt.
  77. Following this is an array counting packet sizes, both sent and received.
  78.  
  79. .LP
  80. The \fBecho\fP, \fBsize\fP, and \fBrepeat\fP options let hosts
  81. be pinged over FDDI.  The argument to \fBehco\fP is the Sprite ID
  82. of a host to ping.  The argument to \fBsize\fP controls the size
  83. of the RPC to ping with.  And \fBrepeat\fP controls the number of
  84. times the host is echoed.  Timing numbers are reported when the
  85. echoes finish.
  86.  
  87. .LP
  88. The \fBreg\fP and \fBerrlog\fP options print out some of the adapter's
  89. internal state.  \fBreg\fP prints out the contents of the adapter's
  90. registers.  \fBerrlog\fP prints out the internal and external
  91. error codes written by the adapter when it halts.  These codes should be
  92. zero during normal operation.
  93.  
  94. .LP
  95. The \fBsyslog\fP option was intended to control whethere output would
  96. be printed on the syslog or on the terminal that invoked \fBfddicmd\fP.
  97. This is only partially supported.
  98.  
  99. .SH KEYWORDS
  100. net, FDDI
  101.